" 复杂的for循环测试
echo "=== Testing List Iteration ==="
let numbers = [1, 2, 3]
for num in numbers
    echo "Number:" num
endfor

echo "=== Testing Dictionary Iteration ==="
let person = {"name": "Alice", "age": 30, "city": "Beijing"}
for key in person
    echo "Key:" key "Value:" person[key]
endfor

echo "=== Testing Empty Iteration ==="
let empty_list = []
for item in empty_list
    echo "This should not print"
endfor
echo "Empty iteration completed"